package com.andy.common.entity;

/**
 * Created by Yuli_Yan on 2017/9/4.
 */
public class Field {
    private String name;
    private FieldType type;
    private int index;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public FieldType getType() {
        return type;
    }

    public void setType(FieldType type) {
        this.type = type;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}

enum FieldType {
    INT, DOUBLE, CHAR, LONG, STRING;
}